package hikari.script.propertyeditors;

import hikari.persistence.file.FileSection;
import java.io.IOException;
import javax.swing.JPanel;

/**
 * @author sad
 */
public abstract class IPropertyEditor<T> extends JPanel {

    public abstract void setValue(T value);

    public abstract T getValue();
    
    public abstract String sectionName();
    
    public abstract void save(FileSection section) throws IOException;
    public abstract void load(FileSection section) throws IOException;
}
